import type { RouteRecordRaw } from 'vue-router'
// 需要登陆才能打开的菜单
export const permissionMenu = ['myFavorite']
const routerMap: Array<RouteRecordRaw> = [
  {
    path: '/',
    redirect: '/homePage',
  },
  {
    path: '/homePage',
    name: 'homePage',
    component: () => import('@/views/homePage/index.vue'),
    meta: { title: '首页', isShow: true }
  },
  {
    path: '/myFavorite',
    name: 'myFavorite',
    component: () => import('@/views/myFavorite/index.vue'),
    meta: { title: '我的喜欢', isShow: false }
  },
  // {
  //   path: '/test',
  //   name: 'test',
  //   component: () => import('@/views/test/index.vue'),
  //   meta: { title: '测试', isShow: true }
  // }
]
export default routerMap
